<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Minecraft Text Animation</title>
  <link rel="stylesheet" href="styles.css">
</head>

<body>
  <div class="container">
    <div class="text-container">
      <span class="text">M</span>
      <span class="text">i</span>
      <span class="text">n</span>
      <span class="text">e</span>
      <span class="text">c</span>
      <span class="text">r</span>
      <span class="text">a</span>
      <span class="text">f</span>
      <span class="text">t</span>
    </div>
  </div>
</body>

<style>
  @keyframes scale {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.2);
    }

    100% {
      transform: scale(1);
    }

  }

  .container {
    transform: rotate(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    /* border: 1px solid black; */
    
  }

  .text-container {
    display: flex;
  }

  .text-container {
    font-size: 36px;
    margin: 0 5px;
    animation: scale 0.9s ease-in-out infinite;
  }
</style>

</html>